import * as request from '../../utils/request';
import config from '../../config/config';

export function getApplicationList(params) {
  return request.get(`${config.organize_api.getApplicationList}`, params);
}

export function getApplicationPage(params) {
  return request.get(`${config.organize_api.getApplicationPage}`, params);
}

export function addApplication(params) {
  return request.post(`${config.organize_api.addApplication}`, params);
}

export function updateApplication(params) {
  return request.post(`${config.organize_api.updateApplication}`, params);
}

export function deleteApplication(params) {
  return request.post(`${config.organize_api.deleteApplication}`, params);
}
